import htttp from '@/utils/request'
export const upLoad = {
  imgUpload: {
		headers:{
			'content-type':'multipart/form-data'
		},
    url: 'upload/image',
    method:'POST'
	}
}
export const imgUpload_yp = params => {
	var options = upLoad.imgUpload
	options.url = options.url + '/' + params.url
	return htttp.request({
	  ...options
	})
}
export const fileUpload_yp = params => {
	// var options = upLoad.imgUpload
	// options.url = options.url + '/' + params.url
	// let pa;
 //  return htttp.request({
 //    options,pa
 //  })
}